Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcMRoundFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 2 items: number, multiple.

Number is the value to round.

Multiple is the multiple to which you want to round number.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns a number rounded to the desired multiple.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcMRoundFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 2 items: number, multiple.

    Number is the value to round.

    Multiple is the multiple to which you want to round number.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also